<?php
if(!isset($_SESSION))
    session_start();
?>
    <div id="header">
      <div id="user">
<?php if(isset($_SESSION['email'])): ?>
        <a href="<?php echo $root; ?>login/member.php">
          <?php echo $_SESSION['email']; ?>
        </a>
<?php else: ?>
        <a href="<?php echo $root; ?>login/">Login / Register</a>
<?php endif; ?>
      </div><!-- #user -->
      <p>Header</p>
    </div><!-- #header -->
